import request from '@/utils/request'

export default {

  // 添加小结
  addVideo(video){
    return request({
      url: `/edu_service/video/addVideo`,
      method: 'post',
      data: video
    })
  },
  // 删除小结
  deleteVideo(videoId) {
    return request({
      url: `/edu_service/video/deleteVideo/${videoId}`,
      method: 'delete',
    })
  },
  // 修改小结
  updateVideo(video) {
    return request({
      url: `/edu_service/video/updateVideo`,
      method: 'post',
      data: video
    })
  },
  getVideo(id) {
    return request({
      url: `/edu_service/video/getVideo/${id}`,
      method: 'get'
    })
  },
  deleteAliyunVideo(id) {
    return request({
      url: `/edu_vod/video/removeAliyunVideo/${id}`,
      method: 'delete'
    })
  }


}
